﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Configuration;

namespace WebSiteAdminTool.Web.DataAccess
{
    public class BaseDataAccess
    {
        public virtual string ApplicationName
        {
            get { throw new NotImplementedException(); }
        }

        #region helpers

        protected AspNetSecurityEntities GetDataContext()
        {
            return new AspNetSecurityEntities(ConfigurationManager.ConnectionStrings["AspNetSecurityEntities"].ConnectionString);
        }

        #endregion
    }
}
